package com.mdd.front.service.zdjd;

import com.mdd.common.core.PageResult;
import com.mdd.common.entity.zdjd.TZdjdDeviceStateRecord;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.validate.zdjd.TZdjdDeviceStateRecordCreateValidate;
import com.mdd.front.validate.zdjd.TZdjdDeviceStateRecordSearchValidate;
import com.mdd.front.validate.zdjd.TZdjdDeviceStateRecordUpdateValidate;
import com.mdd.front.vo.zdjd.TZdjdDeviceStateRecordDetailVo;
import com.mdd.front.vo.zdjd.TZdjdDeviceStateRecordListedVo;

import java.util.List;

/**
 * 设备状态变化记录服务接口类
 * @author LikeAdmin
 */
public interface ITZdjdDeviceStateRecordService {

    /**
     * 设备状态变化记录列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<TZdjdDeviceStateRecordListedVo>
     */
    PageResult<TZdjdDeviceStateRecordListedVo> list(PageValidate pageValidate, TZdjdDeviceStateRecordSearchValidate searchValidate);

    /**
     * 设备状态变化记录详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return TZdjdDeviceStateRecordDetailVo
     */
    TZdjdDeviceStateRecordDetailVo detail(Integer id);

    /**
     * 设备状态变化记录新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(TZdjdDeviceStateRecordCreateValidate createValidate);

    /**
     * 设备状态变化记录编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(TZdjdDeviceStateRecordUpdateValidate updateValidate);

    /**
     * 设备状态变化记录删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

    void insertDeviceStateRecord(TZdjdDeviceStateRecord deviceStateRecord);

    List<TZdjdDeviceStateRecord> selectListByYearMonthDay(Integer year,Integer month,Integer day);
}
